home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C++ / Frameworks / GameShell / Sourcery / Compat.h < prev    next >
Encoding:
Text File  |  1995-12-03  |  439 b   |  33 lines  |  [TEXT/CWIE]

  1. // Compat.h Header File
  2.  
  3. #ifndef COMPAT_H_
  4. #define COMPAT_H_
  5.  
  6. #include <GestaltEqu.h>
  7.  
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11.  
  12. typedef struct {
  13.     Boolean gestaltAvail;
  14.     Boolean WNEAvail;
  15.     long sysVersion;
  16.     short cpu;
  17.     short fpu;
  18.     Boolean hasColor;
  19.     Boolean hasCQD;
  20.     short pixDepth;
  21.     Boolean hasTempMem;
  22.     Boolean hasSoundChip;
  23. } MacEnviron;
  24.  
  25. extern MacEnviron gEnviron;
  26.  
  27. void CheckEnviron();
  28.  
  29. #ifdef __cplusplus
  30. }
  31. #endif
  32.  
  33. #endif // COMPAT_H_